package com.provider;

import com.rpc.user.IUserInfo;
import org.springframework.stereotype.Service;
import pub.elephants.net.annotation.ElephantsService;

/**
 * Created by IntelliJ IDEA.
 * User: kui.zhang
 * Date: 2017/8/1
 * Time: 13:44
 * To change this template use File | Settings | File Templates.
 */
@ElephantsService(IUserInfo.class)
@Service
public class UserInfo implements IUserInfo {
    /**
     * hello
     *
     * @param name
     * @return
     */
    public String hello(String name) {

        return System.currentTimeMillis() + "^_^:" + name;
    }
}
